---- @Author:      feilong-- @DateTime:    2020-10-30 23:05:48-- @Description: mongo操作local skynet = require "skynet.manager"----------------------------------------------------------- class---------------------------------------------------------local Service = class("Mongo")function Service:ctor(name)    self.message_handler = new("mongo.handler")    self:register()endfunction Service:register()    g.dispatch:register('start', handler(self, self.onStart))    g.dispatch:register('close', handler(self, self.onClose))endfunction Service:onStart()    return trueendfunction Service:onClose()    return trueendreturn Service